package com.zyd.shiro.business.entity;


import org.apache.shiro.authz.AuthorizationInfo;

import java.io.Serializable;

public class UandP implements Serializable {

    private final User user;
    private final AuthorizationInfo authInfo;

    public UandP(User user, AuthorizationInfo authInfo) {
        this.user = user;
        this.authInfo = authInfo;
    }

    public User getUser() {
        return user;
    }

    public AuthorizationInfo getAuthInfo() {
        return authInfo;
    }
}
